<template>
  <div class="header">
      <div><slot name="left"></slot></div>
      <div>{{title}}</div>
      <div>{{open}}</div>
  </div>
</template>

<script>
export default {
props:['back','title','open']
}
</script>

<style lang="scss">
.header{
    width: 100%;
    height: 40px;
    display: flex;
    line-height: 40px;
    border-bottom: 1px solid #ccc;
    div{
    flex: 1;
    text-align: center;
    }
}
</style>